/**
 * @ClassName Test
 * @Description TODO
 * @Author Li
 * @Date 2022/8/9 16:11
 * @ModifyDate 2022/8/9 16:11
 * @Version 1.0
 */
public class Test {
    public static void main(String[] args) {
        // 等待唤醒案例
        Coffee coffee = new Coffee();
        CoffeeMachine machine = new CoffeeMachine(coffee);
        Customer customer = new Customer(coffee);
        machine.start();
        customer.start();
    }
}
